<%@ page title="" language="C#" masterpagefile="~/RealtimeSite.master" autoeventwireup="true" inherits="ProHardwareSetup, App_Web_mlekx3bt" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">

    <style>
  .card [class*=card-header-]:not(.card-header-icon):not(.card-header-text):not(.card-header-image) {
    border-radius: 3px;
    margin-top: -20px;
    padding: 7px;
    padding-left: 10px;
}
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    padding: 4px 8px;
    vertical-align: middle;
    border-color: #ddd;
}
.container {
    max-width: 1215px !important;
    margin-left: 142px;
    margin-top: -76px;    
}
.table>tbody>tr>th
{
    color: #fff !important;
    background: #fb3406ba !important;
    border:0px !important;
}
.panel-heading
{
    padding:6px !important;
    font-size:13px;
}
.panel
{
    background:#eee !important;
}
#MainContent_lblDepartmentName
{
    font-size:14px;
    font-weight:600;
}
#Span1
{
    font-size:14px;
    font-weight:600;
}
#Span2
{
    font-size:14px;
    font-weight:600;
}
#Span3
{
    font-size:14px;
    font-weight:600;
}
.panel-heading
{
    background:#fb3406ba !important;
}
 .btn
 {
     font-size:11px !important;
 } 
 #MainContent_Label8
 {
     font-weight: bold;
    font-size: 14px;
 }

   .btn-success.disabled, .btn-success.disabled.active, .btn-success.disabled.focus, .btn-success.disabled:active, .btn-success.disabled:focus, .btn-success.disabled:hover, .btn-success[disabled], .btn-success[disabled].active, .btn-success[disabled].focus, .btn-success[disabled]:active, .btn-success[disabled]:focus, .btn-success[disabled]:hover, fieldset[disabled] .btn-success, fieldset[disabled] .btn-success.active, fieldset[disabled] .btn-success.focus, fieldset[disabled] .btn-success:active, fieldset[disabled] .btn-success:focus, fieldset[disabled] .btn-success:hover {
    color: #fff;
    background-color: #66bb6a;
    border-color: #66bb6a;
    }
        </style>
  
                <div class="container" id="usermanger12" runat="server" style="max-width:1480px!important;margin-top:-30px!important;margin-left:40px;margin-right:40px;">   
              
       
<div class="row dash-pane2" style="margin-left:0px; margin-right:0px;">	

<div class="card">
                <div class="card-header card-header-warning" id="cardheadergreen" runat="server">
                  <h4 class="card-title"><i class="fa fa-list fa-fw"></i>  
                      <asp:Label ID="Label1" runat="server" Text="Device Info"></asp:Label></h4>   
                </div>
                <div class="card-body" >
                <!---------User Manager----------->
                  <div class="row">
                    <div class="col-lg-3">
                        <div class="col-md-2" style="max-width: 100%;">
                                    <asp:Label ID="Label9" runat="server" Text="Devices:"></asp:Label>
                            </div>
                        <div class="col-md-2" style="max-width: 50%; flex: 1 0 16.666667%;" >
                                    <asp:DropDownList ID="Device_List" runat="server" class="form-control" 
                                        OnSelectedIndexChanged="Device_List_SelectedIndexChanged" AutoPostBack="True" Width="165px">
                                    </asp:DropDownList>
                                    <%--<asp:TextBox ID="mTransIdTxt" runat="server" Visible="False" class="form-control" ></asp:TextBox>--%>
                      </div>
                        </div>
                      <div class="col-lg-2" style="margin-top:24px;">
                         <asp:Label ID="Label11" runat="server" Text="Serial No:  "></asp:Label>
                          <asp:Label ID="LDev_Name" runat="server"></asp:Label>
                          <asp:Label ID="UpdateTimeTxt" runat="server" Text=".." Visible="False"></asp:Label>
                      </div>
                      <div class="col-lg-2" style="margin-top:24px;">
                       <asp:Label ID="Label12" runat="server" Text="Connect Status:"></asp:Label>
                       <asp:Image ID="StatusImg" runat="server" Height="20px" ImageUrl="~/images/redon.png"
                                        Width="20px" />
                      </div>
                      <div class="col-lg-2" style="margin-top:18px;">
                      <i class="fa fa-plus;"></i>
                    <asp:Button ID="Button10" runat="server" type="button" Text="Connect " class="btn btn-success"
                        OnClick="Button1_Click1" />&nbsp;&nbsp;
                    &nbsp;&nbsp;
                        <i class="fa fa-trash-o;"></i>
                      </div>
                      <div class="col-lg-2" style="position:relative; top:35px;">
                       
                      </div>
                </div>
                <div class="row" style="margin-left:0px; margin-right:0px; margin-top:10px; display:none">
                 <div class="panel panel-primary" style="width:100%">
                <div class="panel-heading"><asp:Label ID="lblDeviceInfo" runat="server" Text="Device Info"></asp:Label></div>
                <div class="panel-body" style="padding-bottom:10px !important;">
                 <div class="row" style="padding-top:15px;">
                <div class="col-lg-4">
                                    <asp:Label ID="Label10" runat="server" Text="ID:  "></asp:Label>
                                    <asp:Label ID="LDev_ID" runat="server"></asp:Label>
                                </div>
                                <div class="col-lg-4">
                         
                                </div>
                      
                                <div class="col-lg-4">
                          
                                </div>
                </div>
                </div>
                </div>
                </div>

                <!-------End User Manager--------->


                
                <div class="row" style="margin-left:-15px; margin-right:-15px; margin-top:10px;">
                <div class="col-lg-12">
                  <div class="panel panel-primary" style="background-color:#ffffff!important;">
                 <div class="panel-heading">
                     User Manager</div>
                  <div class="panel-body" style="padding-top:10px; padding-bottom:8px">
                  <div class="row" style="margin-bottom:20px;">
                  

     <div class="col-lg-10" style="height:190px; overflow-x:hidden; overflow-y:auto; margin-left:0px; margin-right:0px; margin-top:10px">
                <div class="table-responsive">
                <asp:GridView ID="Grid1" runat="server"  class="table table-bordered table-hover table-striped"  
          AutoGenerateColumns="False"   DataKeyNames="Id" 
          
          style="font-family: Verdana; font-size: 9pt"  >
         
          <Columns>
              <asp:TemplateField HeaderText="Select">
                
                  <ItemTemplate>
                      <asp:CheckBox ID="cbRows" runat="server"  Checked="true"/>
                  </ItemTemplate>
                 
              </asp:TemplateField>
             
              <asp:BoundField DataField="UserNo" HeaderText="EnrollNumber" SortExpression="Address">
               
            </asp:BoundField>
            <asp:BoundField DataField="UserName" HeaderText="UserName" SortExpression="PhoneNo">
                
            </asp:BoundField>
             <asp:BoundField DataField="Face" HeaderText="Face" SortExpression="EmailId">
                
            </asp:BoundField>

             <asp:BoundField DataField="UserID" HeaderText="User Type" SortExpression="EmailId">
                
            </asp:BoundField>

         
          </Columns>
         
      </asp:GridView>
            </div>  
            </div>
                      <div class="col-lg-2">
                          <asp:Image ID="Image1" runat="server" />
                          <asp:Button ID="Button4" runat="server" Text="Button" class="btn-success" style="display:none;" />
                      </div>
                      </div>
                      <asp:CheckBox ID="checkid" runat="server"  Text="Select all/Deselect all" AutoPostBack="True" OnCheckedChanged="checkid_CheckedChanged"/>
                     
                       
                                    

                                       <div class="row" style="margin-left:auto; margin-right:auto; display:table; margin-top:100px;">
                    <asp:Button ID="Button2" runat="server" class="btn btn-success " OnClick="Button2_Click" Text="     Load From Database" type="button" /><i class="fa fa-plus;"></i>&nbsp;&nbsp;&nbsp;
                                           <asp:Button ID="btndeletefromdb" runat="server" Text="Delete from Database"  class="btn btn-success " OnClick="btndeletefromdb_Click" /> <i class="fa fa-plus;"></i>&nbsp;&nbsp;&nbsp;

 <asp:Button ID="Button5" runat="server" class="btn btn-success "  Text="Remove Admin" type="button" OnClick="Button5_Click" /><i class="fa fa-plus;"></i>&nbsp;&nbsp;&nbsp;

   <asp:Button ID="BtnDownloaduser" runat="server" class="btn btn-success "   Text="Download All Users" type="button" OnClick="BtnDownloaduser_Click" /><i class="fa fa-plus;"></i>&nbsp;&nbsp;&nbsp;


                                              <asp:Button ID="Button7" runat="server" class="btn btn-success "   Text="Download User Photo" type="button" OnClick="Button7_Click"   /><i class="fa fa-plus;"></i>&nbsp;&nbsp;&nbsp;


 <asp:Button ID="Button3" runat="server" class="btn btn-success "   Text="Upload Users" type="button" OnClick="Button3_Click"  /><i class="fa fa-plus;"></i>&nbsp;&nbsp;&nbsp;


                                            <asp:Button ID="Button6" runat="server" class="btn btn-success "   Text="Upload Photo" type="button" OnClick="Button6_Click"   /><i class="fa fa-plus;"></i>&nbsp;&nbsp;&nbsp;


        <asp:Button ID="Button1" runat="server" class=" btn btn-danger" onclick="Button1_Click" Text="Back" Width="140px" /><i  class="fa fa-trash-o;"></i>
                 </div>

                                 <asp:timer ID="Timer" runat="server" Interval="1000" OnTick="Timer_Watch" 
                    Enabled="false"></asp:timer>
                              <%--  </center>
                               
                                
                            </div>--%>
                          
               

                  </div>
                  </div>
                 </div>
                </div>
          
        
                  
                </div>

              


                </div>
              </div>
					
                    
				</div>
            
  
                           
 

     

 
            

</asp:Content>

